home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 126-150 / disk_146 / dmemacros / c / c.templates < prev    next >
Text File  |  1992-05-06  |  925b  |  21 lines

  1.  
  2.   key     template           command-line prompt(s)       example       -->
  3.  
  4.   nk7     main               -----                -----
  5.   nk8     function (with args)  function name                `func1'
  6.   nk9     function (no args)    function name                `func2'
  7.   nk4     struct            struct tag <CR> struct name  `struct_tag' <CR> `struct_name'
  8.   nk5     union               union  tag <CR> union  name  `union_tag'  <CR> `union_name'
  9.   nk6     -----               -----                -----
  10.   nk1     switch            branch expression        `counter'
  11.   nk2     case               integer constant         `3'
  12.   nk3     for               init, test & reinit expr     `i=1; i<10; i++'
  13.   nk0     if               test expression            ` !(i<j) '
  14.   nk.     ifelse            test expression            ` (i<j) && (j<k) '
  15.   nk-     do               continuation ocndition        `(i*j) < 10'
  16.  enter     while               continuation condition        ` (i/k) > 20 '
  17.  
  18. IMPORTANT: Don't forget the closing quote (and preceding space, if required)!
  19.  
  20.  
  21.